﻿using ERPU8WebApi.Until;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;

namespace ERPU8WebApi.Models.Sys
{
    //客户档案
    public class CustomerModel
    {
        //客户编码
        public string cCusCode;
        //客户名称
        public string cCusName;
        //客户简称
        public string cCusAbbName;
        //客户分类编码
        public string cCCCode;
        //地址
        public string cCusAddress;
        //客户分类名称
        public string cCCName;
    }
    public class CustomerController
    {
        //获取供应商对象
        public CustomerModel GetModel(DataRow dr)
        {
            CustomerModel s = new CustomerModel();
            s = SerializeLibrary.D2E<CustomerModel>(dr);
            return s;
        }
    }
}